﻿<!doctype html>
<html>
<head>
<title>教师首页 - {$org.org_name}</title>
<vt:include file="../inc/meta.inc" />
<script type="text/javascript" src="Scripts/index.js?ver={$version}"></script>
<link href="Styles/index.css?ver={$version}" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/Utility/CoreScripts/Widget.js?ver={$version}"></script>
</head>
<body>
<vt:include file="../inc/header.html" />
<div id="bodyTop"> </div>
<div class="fixedBox">
  <div class="fixed-box">
    <div class="title">我要成为老师</div>
    <div class="btnbox">
      <vt:if var="Account.Ac_id" value="0" compare=">">
        <vt:if var="Account.Ac_IsTeacher" value="true" compare="="> 
        <vt:if var="Teacher.Th_IsPass" value="true" compare="=">
        <a href="panel.ashx">进入教学中心</a>
        <vt:else/>
        <a href="register.ashx?step=3">查看入驻审核</a>
        </vt:if>
          <vt:else/>
          <vt:if var="IsRegTeacher" value="false" compare="="> <a href="register.ashx">立即申请入驻</a>
            <vt:else/>
            <a href="#">暂停教师入驻申请</a> </vt:if>
        </vt:if>
        <vt:else/>
        <a href="../student/index.ashx">请登录后，再申请入驻</a> </vt:if>
    </div>
  </div>
</div>
<div class="bottom-tit">已入驻的优秀老师展示</div>
<div id="teacher-list">
  <vt:foreach id="teachers" from="$#.teachers" item="data" index="i" size="4" remark="教师信息列表">
    <div class="item"> 
      <!--教师信息 --> 
      <a href="detail.ashx?id={$:#.data.th_id}">
      <div class="photo"> <img src="{$:#.data.th_photo}"/></div>
      <div class="name">{$:#.data.th_name}</div>
      <div class="ths">{$:#.data.Ths_Name}</div>
      </a> </div>
  </vt:foreach>
</div>
<vt:include file="../inc/footer.html" />
</body>
</html>
